#ifndef DIALOG_H
#define DIALOG_H

#include <QDialog>

#include "FrameGlobal.h"


class FrameHelper;
namespace Ui { class Dialog; };
class FRAME_EXPORT Dialog : public QDialog
{
	Q_OBJECT

public:
	Dialog(QWidget *parent = 0);
	~Dialog();

public:
	void setWidget(QWidget * pWdiget);

	void setTitle(const QString & strTitle);
	void setMinBtnVisible(bool visible);
	void setMaxBtnVisible(bool visible);

protected:
	void initDialog();

private:
	Ui::Dialog * ui;
	FrameHelper * pFrameHelper;
};

#endif // DIALOG_H
